package com.xoa.dev.formSign.Controller;

import com.xoa.dev.formSign.serivce.FormSignServiceImpl;
import com.xoa.model.users.Users;
import com.xoa.util.AjaxJson;
import com.xoa.util.CookiesUtil;
import com.xoa.util.common.session.SessionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;


@Controller
@RequestMapping("formSign")
public class FormSignController {
    @Autowired
    FormSignServiceImpl formSignService;

    @RequestMapping(value = "getSignFeedBack", produces = {"application/json;charset=UTF-8"})
    @ResponseBody
    public AjaxJson getSignFeedBack(HttpServletRequest request, Integer runId, String PRCS_ID, String FLOW_PRCS) {
      return formSignService.getSignFeedBack(runId,PRCS_ID,FLOW_PRCS);
    }


}
